package myJs.myPkg.reactDraggable

import org.scalajs.dom.{Event, html}
import slinky.core.annotations.react
import slinky.core.{ExternalComponent, SyntheticEvent, TagElement, TagMod}
import slinky.core.facade.{React, ReactElement, ReactRef}
import slinky.readwrite.ObjectOrWritten
import typings.react.mod.BaseSyntheticEvent

import scala.scalajs.js
import scala.scalajs.js.annotation.JSImport
import scala.scalajs.js.|
import scala.concurrent.Future

/**
 * Created by yz on 14/10/2022
 */
@react object Draggable extends ExternalComponent {
  case class Props(
                    handle: js.UndefOr[String] = js.undefined,
                  )

  @js.native
  @JSImport("react-draggable", JSImport.Default)
  object Component extends js.Object {

  }

  override val component = Component


}
